<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<s:i18n name="person">
<html>
  <head>  
    
    <title><s:text name="message"/></title>
    
		<link href="<s:url value="../css/work.css"/>" rel="stylesheet"
			type="text/css" />
     
  </head>
  
  <body style="  padding-top: 0px;	padding-left: 0px;	padding-right: 0px;  ">
  
  
  
    <!------------------------------------top 开始------------------------------------>
    <table cellSpacing="0" cellPadding="0"  width="100%" align="center"  border="0">
    <tr align="center"><td > <img border="0" src="../images/top.gif" width="1000px" height="65px" /> </td></tr>
    </table>   
    <!------------------------------------top 结束------------------------------------>
  
       
       <br/><br/><br/>
  
       <h1><s:text name="message"/></h1>
     
     
     
     
     
        
        <table class="tableForm">
        
            <tr class="mainHeader">
                <td colspan="2"><s:text name="information"/></td>
            </tr>           
            
            
            
            <tr>
            
                <td align="center"  rowspan="2">
                
                
                <s:set name="returnResult" value="%{returnInformation.returnResult.toString()}" ></s:set>  <!-- 将枚举类型转化为字符串 -->
                               
                <s:set name="message" value="%{returnInformation.message}" ></s:set>                
                            
                    
                   <s:if test="%{#returnResult == 'OPERATION_SUCCESSFULLY'}">
                        <img src="../images/success.gif" border="0"/>        
                   </s:if>
                    <s:elseif test="%{#returnResult == 'OPERATION_FAILED'}">
                        <img src="../images/fail.gif" border="0"/>                 
                   </s:elseif>
                   
                   <s:elseif test="%{#returnResult == 'ACCESS_FAILED'}">
                        <img src="../images/accesserror.gif" border="0"/>                 
                   </s:elseif>
                   
                   <s:elseif test="%{#returnResult == 'TIME_OUT'}">
                        <img src="../images/timeout.gif" border="0"/>                 
                   </s:elseif>
                   
                 
                    <s:else>
                        <img src="../images/fail.gif" border="0"/>                 
                   </s:else>
                   
                  

                
                </td>
                
                
                <td> 
                                
                <font color="red" >
                
                
                <s:if test="%{#message==null}">                
                                 
                      <s:if test="%{#returnResult == 'OPERATION_SUCCESSFULLY'}">
                           <s:text name="operation.sucess"/>   
                      </s:if>
                      <s:elseif test="%{#returnResult == 'OPERATION_FAILED'}">
                          <s:text name="operation.failed"></s:text>              
                      </s:elseif>
                   
                      <s:elseif test="%{#returnResult == 'ACCESS_FAILED'}">
                          <s:text name="access.failed"></s:text>          
                      </s:elseif>
                   
                      <s:elseif test="%{#returnResult == 'TIME_OUT'}">
                         <s:text name="timeout"></s:text>            
                      </s:elseif>
                   
                      <s:else>
                           <s:text name="operation.failed"></s:text>         
                      </s:else>
                
             </s:if>
             
             <s:else>
             
                <s:property value="#message"/>
             
             </s:else>   
                  
                   
                   
                   
                   
                   
                   </font></td>
               
            </tr> 
                    
            <tr>
                 <td align="left"> 
                 
                 <s:if test="%{#returnResult != 'TIME_OUT'}">
                 
<s:text name="timeout.continue"><s:param><s:property value="%{returnInformation.returnURL}"/></s:param></s:text>                 
                 </s:if>
                 
                 <s:else>
                 
<s:text name="timeout.logout"><s:param>../admin/logoutAction.action</s:param></s:text>                 
                 </s:else>
                 
                 
                 
                 </td>
            </tr>  
                    
                                   
            
          
                       

            
       </table>
     
     
 


  </body>
</html>
</s:i18n>